#include<conio.h>
#include<stdio.h>
#include<iostream.h>

void main()                                
{
int kode;
char ukuran[1];

printf("Masukkan kode barang =\n")
scanf("%i",&kode);
printf("Masukkan ukuran =\n");
scanf("%c",%ukuran);
if(kode==1)
{
printf("Merk H&R\n");
if(ukuran==S||ukuran==s)
printf("Harga = Rp 50.000");
else
printf("Harga = Rp 55.000");
}
else
if(kode==2)
{
printf("Merk Adidas\n");
if(ukuran==S||ukuran=s)
printf("Harga = Rp 55.000");
else
printf("Harga = Rp 60.000");
}
getch();
}